package com.remindurself.action;

import java.util.Map;

import com.opensymphony.xwork2.ActionSupport;

/** 
 * @author  Bruce 
 * @date 2011-8-7
 * @comment
 */
//public class RegisterAction extends BaseAction implements ModelDriven<Member>{
public class RegisterAction extends ActionSupport{
	private static final long serialVersionUID = -7329112516262893259L;

	private String message;
	
	public String execute() throws Exception {

		System.out.println("int execute()");
		return SUCCESS;
	}


	public String input() throws Exception {

		System.out.println("int input()");
		return INPUT;
	}


	public void validate() {
		System.out.println(super.getActionErrors());
		System.out.println(super.getErrors());
		
		Map map = super.getFieldErrors();
		
		
		
		System.out.println(map);
		System.out.println(super.hasActionErrors());
		System.out.println(super.hasErrors());
		System.out.println(super.hasFieldErrors());
		System.out.println("int validate()");
		
	}


	public String getMessage() {
		return message;
	}


	public void setMessage(String message) {
		this.message = message;
	}

/*	@Override
	public Member getModel() {
		// TODO Auto-generated method stub
		return null;
	}*/



}
